<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>私人订制_列表</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/faxian.css">
    <link rel="stylesheet" type="text/css" href="../css/custom_made_list.css"/>
    <script src="../js/jquery-3.2.1.min.js"></script>
    <script src="../js/media.js"></script>
    <script src="../js/common.js"></script>
    <style>
    	
    </style>
</head>
<body>
    <!--正文-->
	<div class="main-4 main-0">
		<ul>
			<li class="flex" v-for='item in order' @click='link(this)'>
				<img :src="item.store.store_image" alt="">
				<div class="center">
					<p class="p1"> {{item.store.store_name}}</p>
					<p class="p2">
						<font v-for='items in item.type'>/{{items.firstTypeDiscribe}}</font>
					</p>
				</div>
				<span></span>
			</li>
		</ul>
	</div>
    <!--底部-->
    <div class="public-footer flex">
        <div class="button-1" onclick="javascript:window.location.href='../index.html'">
            <span></span>
            <p>首页</p>
        </div>
        <div class="button-2" onclick="javascript:window.location.href='../fenlei/fenlei.html'">
            <span></span>
            <p>分类</p>
        </div>
        <div class="button-3 active">
            <span></span>
            <p>店铺</p>
        </div>
        <div class="button-4" onclick="nextMy()">
            <span></span>
            <p>我的</p>
        </div>
    </div>
    <script src='../js/vue.js'></script>
    <script src='../js/vue-resource.min.js'></script>
	<script>
		function nextMy() {
			if(localStorage.getItem("mytype") == 1) {
				window.location.href = "../wode/Sellers-center.html";
			} else {
				window.location.href = '../wode/my-page.html';
			}
		}
		var urls = encodeURI("http://www.yunnantese.com");
		new Vue({
			el: 'body',
			data: {
				slide_img: [],
				activity: [],
				follow: [],
				jinxuan: [],
				order: [],
				zhuanchang: [],
				trs: 1,
				uid: ''
			},
			ready: function() {
				this.tab4Load();
			},
			methods: {
				tab4Load: function() {
					this.$http.get(base_url + 'ZITAOHUI/firstPage/order').then(
						function(data) {
							console.log("私人定制：" + JSON.stringify(data));
							let all_data_tab12 = data.data.extend.data;
	
							this.$set('order', all_data_tab12)
	
						},
						function() {
	
						})
				},
				link: function(t) {
					window.location.href = './custom-made.html?storeId=' + t.item.store.store_id
				},
			}
		})
	</script>
</body>
</html>